package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName ydd_link
 */
@TableName(value ="ydd_link")
@Data
public class Link implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Object id;

    /**
     * 
     */
    @TableField(value = "title")
    private String title;

    /**
     * 
     */
    @TableField(value = "url")
    private String url;

    /**
     * 
     */
    @TableField(value = "des")
    private String des;

    /**
     * 
     */
    @TableField(value = "img")
    private String img;

    /**
     * 1是图片链接，2是文字链接
     */
    @TableField(value = "type")
    private String type;

    /**
     * 是否为默认数据，null表示不是，1表示是
     */
    @TableField(value = "default_data")
    private String default_data;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}